package com.mvc.base.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.mvc.base.model.Courier;
import com.mvc.framework.model.Auditable;

/**
 * 
 * @author snowpbx
 * @version V1.0 Create Time: 2012-11-18
 */
@Service
public class CourierManager extends BaseCompanyManager<Courier, Integer> {

	public List<Courier> getAll() {
		Courier example = new Courier();
		example.setRecStatus(Auditable.REC_STATUS_VALID);
		return getHibernateTemplate().findByExample(example);
	}

}
